﻿<UserControl x:Class="Scoot.UI.ContactTile"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             MouseDoubleClick="UserControl_MouseDoubleClick">
    <UserControl.ContextMenu>
        <ContextMenu>
            <MenuItem Header="Schowaj opis" Click="HideDescr_Click"/>
        </ContextMenu>
    </UserControl.ContextMenu>
    <Grid Height="Auto">
        <Image HorizontalAlignment="Left" Margin="0,0,0,0" Name="image1" Stretch="Fill" Width="36" Source="/Scoot;component/Images/DefaultAvatar.png" Height="36" VerticalAlignment="Top" />
        <TextBlock Text="" Margin="38,0,2,0" Name="UserName" Height="18" VerticalAlignment="Top" FontWeight="Bold" FontSize="13" TextTrimming="CharacterEllipsis" />
        <Image Height="16" HorizontalAlignment="Left" Margin="20,20,0,0" Name="ContactStatus" Stretch="Fill" VerticalAlignment="Top" Width="16" Source="/Scoot;component/Images/unavailable.png" />
        <TextBlock Text="" Height="Auto" Margin="38,20,1,0" Name="UserDescription" VerticalAlignment="Top" FontSize="11" Foreground="Gray" FontStyle="Italic" TextWrapping="WrapWithOverflow" />
    </Grid>
</UserControl>
